
function tratador (evt)
	print("=================================")
	for k,v in pairs(evt) do print(k,v) end
	print("=================================")

	variavel = 1
	local evtContador = {
		class = 'ncl',
		type = 'attribution',
		name = 'variavel',
		value = variavel,
	}

	evtContador.action = 'start'
	event.post(evtContador)
	evtContador.action = 'stop'
	event.post(evtContador)
	event.post( {
		class = 'ncl',
		typ	= 'presentation',
		label = 'funcao',
		action = 'stop',
	} )
end
print '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'
print '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'
event.register(tratador,'ncl','presentation','funcao','start')

